/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ${USER}
 * Date: ${YEAR}-${MONTH}-${DAY}
 * Time: ${TIME}
 */
public class Test {
    public static void main(String[] args) {
        MyBinomialTree myBinomialTree = new MyBinomialTree();
        MyBinomialTree.TreeNode root = myBinomialTree.createTree();
        System.out.println(myBinomialTree.size1(root));
//        myBinomialTree.preOrder(root);
//        System.out.println();
//        myBinomialTree.inOrder(root);
//        System.out.println();
//        myBinomialTree.postOrder(root);
//        System.out.println();
        System.out.println(myBinomialTree.getLeafNodeCount1(root));
        System.out.println(myBinomialTree.getKLevelNodeCount(root, 2));
        System.out.println(myBinomialTree.getHeight(root));
        MyBinomialTree.TreeNode BTree = myBinomialTree.find(root, 'C');
        System.out.println();
        myBinomialTree.levelOrder(root);
        System.out.println(myBinomialTree.isCompleteTree(root));
    }
}